Fixed issue with button linking to edit pages