VMWare Resize Disk Catalog Item

We are trying to create a catalog item to allow users to to expand disks on already provisioned VM’s without having to have the user go through the entire Compute -> Infrastructure -> Virtual Machines view and then find the individual VM. Where we are running into a roadblock is making the dialog actually functional. I have tired the adapt the code from here but have not had any luck as of yet.