Switched out hard-coded HTML IDs (#) for dynamic IDs using portal ID;
Retrieve button URLs from portlet preferences