(hopefully) fixing modal click/drag/select/mousedown issues once and for all