
When trying to print a modal dialog, we may not need to see the main layout content mixed with the modal content on the print out. This is however the default behavior when we try to print a web page.
In order to print the modal dialog content, we need to hide the main layout and only make...