Improved UI. Element detail dialog working