Restore "Layout" button functionality

* Fix "Reset Layout to Default" from causing "Not Found" page
* Restore "Set Layout as Default" button
Merge pull request #1225 from reciprocity/feature/fix-set-layout-buttons

Restore "Layout" button functionality