Move GNOME file dialog buttons

I recently upgraded to 18.04 and something that annoys me slightly is that the "Cancel" and "Open"/"Select" buttons are on the top bar now. Is there any way I can move them to the bottom, like in Unity?

enter image description here

For comparison:

enter image description here


Solution 1:

This solution worked for me. Enter this line in the terminal.

gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DialogsUseHeader':<0>}"

And buttons are back on the bottom of the dialog.