Redirecting to Dashboard when the application is not in draft state when submitting.