this dialog controller no longer used
missing line for saving the session state
added function for getting base64session state of weave
removed unnecessary dependency of the queryService
using global weaveWindow (not queryHandler.weaveWindow)
simple clean up
adjusting to the new query Object(2) handling base64 from weaveService