Closes the window with the given id.
id
@override Future<void> close(int id) => _wm.invokeMethod(_wm.close);