Added add category dialog, cat update button support