Custom select: Remove dialog upon _destroy. Fixes #5935 - Dynamic Select empty when opening second time.
(cherry picked from commit afabf5b81b7b24c9f6d1c54c97ec5b8f72787fa1)