InputDialog inputDialog = new InputDialog(txtTopic.getShell(),
"Invite Someone",
"Enter JID of whom you want to invite to this Room (Afterwards you can enter an invite message)",
"",
null);
int r = inputDialog.open();
if(r != InputDialog.OK) return;
String jid = inputDialog.getValue();
inputDialog = new InputDialog(txtTopic.getShell(),
"Invite Someone",
"Enter Invite Message (Reason for the invitation)",