Not entirely sure why these were created and then shown/hidden as it doesn't save much time compared to simply creating them on demand.
Latest versions of GTK Dialog are more complicated and seemingly respawns a thread every few seconds (presumably to monitor if files have been created/deleted), irrespective whether the dialog is shown or not.
Thus now destroying it we avoid this unnecessary thread (re)creation overhead.