ie8-ie9 fix unable to focus on input fields of modal windows in some situations