Fixes bug where close_and_dismiss_warning closure url was relative to root