Changes for modal dialog for adding categories.