Support for focus on load and blur on tap outside for touch devices