Added showConfirmButton option