UI now supports category deleting. Moved confirmation into a helper function.