add modal window mode

I add modal window mode.
It mode is waiting putty process closed, and activate command line window.

( Please rewrite my document text.... because my english is poor.. :-( )