Prettify formatting on popups