fix: release active popup grabs on toplevel destruction