stop the pop up unless clicked directly