Fixed the modals autofocus removed flash messages because it looked weird