Fixing #2353, data-on-close=REFRESH_PAGE is not honored