i created import/export dialogs using jquery ui instead of using window.prompt().