modals also close on esc