make button css in popup more robust