renamed close_on_url_change

Fixes #2670