support for deactivating preview window