Story 6. fixed bug with closing dialogs after fulfilling operations (2)