adapted modal dialog to new zentyal dialgo
removed debug statements
vncviewer.html adapted to Zentyal.Dialog