Allow disabling of confirm button in modals

@ldevalliere @ppong