#JC-1588 Added non-modal mode for jDialog class, fixed unit test, added JavaDocs, error details can be selected with ctrl-a.