Modal action

Modal - if action attribute present on data-dismiss button then send action with hide event