Dismiss Modal and auto refresh