Modal action sent with hide event

Modal - if data-dismiss button also has a data-action attribute, send the action string with the hide event that is emitted from the hide method.