fix #1567 - remove active class when the estimation popover was closed