added dialog JS classes