Sleep after closing modal
Sleep a bit when closing modals when log in