template: make popup a little beautiful