* Prevent dialog not to showing any categories after updating them After updating to react v18 the dialog categories were empty after updating the category changes * Immediately close the dialog after starting update Catalog was open as long as the update was running * Remove unnecessary state