fix to prevent ghostclick of an input under a modal