currently overlay always gets destroyed on close. toggle is only used, when component is used as a dropdown