Fix multiple dialogs to save sound
One more fix of resource saving