So i don´t even know if we can get this fixed trough the smileys module but when using the popups api on the same page as where smileys are located the following error shows

Drupal.settings.smileys is undefined
http://###.com/sites/all/modules/smileys/scripts/smileys.js?1
Line 19

http://drupal.org/node/860680

Since popup api is no longer maintained i tough i would give it a shot here.