Chart: Close the duration selection dropdown when clicking next to it

Fixed in Gladys Assistant 4.53.0: