fix margins on popups