show Warning instead of Confirmation in confirm dialog if isWarning is set to true