I think it's best to have a wrapper with a classname that indicated the current mode (like "has-title") and then change search-save display setting from the css file.