Hide template when init and autofocus input