Fixes #95, centralizing the popup in all templates