Removed unused references
Added has-changed detection flag Fixed dialog result null-value Changed session manager event names