Close Overlay on Time interval - Figma

In figma, you can give feature to set time to close overlay automatically after some milliseconds or seconds.

  1. For example Alerts like : “Files deleted” will show for 2 second and close automatically.

  2. When user select any menu from dropdown and it open overlay than : dropdown should close automatically once open other overlay(Swap overlay is not working here)

Lets continue discussion if you feel this is good feature to implement.