Add ability to disable confirmation button in modals

@ldevalliere @ppong