Added custom notice to redirect_or_edit