Allow popup function to be called directly

This will allow me to integrate guide-key into ergoemacs-mode.

https://github.com/ergoemacs/ergoemacs-mode/issues/15