Do not refresh page when we cancel modal (bug 997046)