                                         foreground_project : opts.foreground_project
                                         chat               : opts.chat
                                 else
-                                    require('./alerts').alert_message(type:"error",message:"Error converting Sage Notebook sws file -- #{err}")
+                                    alert_message(type:"error",message:"Error converting Sage Notebook sws file -- #{err}")
                             return
 
                         if not is_public and ext == "docx"   # Microsoft Word Document


        # intercept any requests if in kiosk mode
        if (not opts.ignore_kiosk) and (redux.getStore('page').get('fullscreen') == 'kiosk')
            return

        if opts.new_browser_window

                                        foreground_project : opts.foreground_project
                                        chat               : opts.chat
                                else
                                    alert_message(type:"error",message:"Error converting Microsoft docx file -- #{err}")
                            return

                        if not is_public
