removing debug info, attempt to fix popup unable to close