popup menu hide fix