fix instance accounts dialog's buttons for alerts refactor