SMP UI: Get rid of window.prompt() (Still needs work!)