It is not possible to make the web browser show a menu bar when using window.showModalDialog
(see references at MDN and MSDN). However, you can create your own print button inside the modal window like this:
<button type="button" onclick="window.print();">Print</button>
The key there is the call to window.print()
.