options, onConfirm, onCancel param added