That works for me. If I press 'i' with the popup open it ignores the user and closes the window.