Add additional option buttons to modal footer

This adds an config array to add additional buttons with custom text/classes/events to the modal's footer.