Changed to use XWT open file dialog. Unfortunately still GTK since XWT is guest.