fixed closing modals