add delay before resetting focus

the javascript calendar hides submit button