Add support for setting the modal widget footer as an array