Cleanup popover form display on Firefox