Cancel,Preview, Apply functionality