optimize popup dialog
Merge branch 'master' of github.com:floatinghotpot/hotjs