Currently, if user closes a page, it just closes silently and running script is stopped. This can be not very obvious for a user (or user can close a page unintentionally), so some confirmation (probably) should be asked.