Replaced the standard confirmation dialog