Add ability to minimize and maximize a modal.