You might have to...
1.) Create and maintain a table of users to keep track of who has clicked the button.
2.) When the user clicks the button, set the flag as Yes in the table.
3.) At the time of dashboard page load check the status of the flag for individual user and either enable or disable the button.