popup not hiding any more