I have 2 Datetime pickers

The normal behaviour expected would be, when one datetime picker is opened, and we open another one, the first one will close,
instead if we click on both buttons, both datetime picker will remain opened,

I would want to behave, when clicking a datetime picker, similar to when clicking o the background, which means to close the other datetime picker that is opened.