DNN-3222 The Deploy permission pop-up is not closed
added code to redirect after deploy permissions set