changed category form to modal