Fix MAGN-2578 After deleting Point from Revit, Select Model Element still display it reference no

@lukechurch 

After deleting the elements, in the event handler, besides updating the selected element property, we also need to raise event to update the UI properly. This submission also fixes an issue that the documents are compared by comparing the variable directly.