add diagnostics window