only show file close on hover or dirty