Added a confirmation dialog to character deletion