fix empty dialog
method refs: fix variable initializing order (IDEA-132445)
NPE (IDEA-132409)
new inference: site substitution from remembered properties (IDEA-132417)