Added functionality for constructed query object to be opened in editor