Property manager is not getting activated after opening the pmp page on Addin logo click

Hi,

I am working on SolidWorks extension using C#.

I am facing problem for property manager page. Property manager page is working fine in allover project. But when I click on my addin logo and opening the PMP page for body selection it opens successfully while closing or canceling the page my addin tree view is not visible.  To do it properly I need to click on Solidworks property manager page manually but the expected is that when the PMP get opened the property manager page should get activated automatically. Please help. Thanks in advance.

SolidworksApi/macros