fixed dialog boxes not showing