- preventing downloading modal from being dismissed by clicks or ESC