preview style fixes
added autoclosing after clearAll