Properly remove edge panels

Forgot that on detach prototype would turn off so it would not detach.

Bug: 112934365
Test: manual
Change-Id: I38425f4ae4caf95dabc5f7ffdcb3c396cacb758f
1 file changed