Fixed window focus on button click
code documentation