Hide button in popup mode