reduced duplicated code
window fight click
disable field click event on window open