now modals work well with keyboard shortcuts