Fixed 'close' declaration for dialog plug-in

The typescript function declaration for the dialog plug-ins close
function did not accept a rest parameter and thus would not compile when
attempting to pass additional parameters to the close function. Fixed by
adding a rest parameter.