format popup message box to make it fit with sidebar