If you want to add minimize/maximize options for the modal component...
Full Tutorial: http://www.jquery-az.com/minimize-max...
so that as a user clicks on minimize option, the modal will reside at the left bottom of the parent window.
If he/she clicks on the maximize button, the modal will appear again, you can do this by using a jQuery plug-in which is the topic of this tutorial.