JS docs update: added initial tutorials for dialogs