review changes done for category dialog