That front end logic would definitely be separated from this, i.e., this method should just do what it says and the caller should be responsible for calling it only after the user confirms.