Emitting signal when a tab is closed to be able to handle closure of tabs.
Adding a popup when the machine current is below the threshold to make it
clearer for the user that this has occurred.