Fix Extra Buttons on Layout Edit Dialog

Fix extra buttons layout edit dialog.

Footer form buttons were being displayed even when
`$_REQUEST['request']` was set and set to one.

Checks for value before including footer buttons.
Merge pull request #960 from mkly/bugfix_layout_change_preset_footer

Fix Extra Buttons on Layout Edit Dialog