Added autofocus directive and enter click directive.