Remove popup element from the event arguments.