add timeout for hide on blur
otherwise it will hide the clear before the click event be triggered