fix record popup disappearing