document.activeElement can rarely have no 'blur' method (in Modal#open)