added refocus to input field after autoclose.