Re-activate the Shutdown Dialog
When you press the power button on your Mac (installed with OS X Mavericks or Yosemite) your Mac falls into sleepmode. You can disable the power button’s directly sleep mode and have the ‘old’ shutdown dialog appearing instead, open OS X Terminal window and enter: