Configuring phshutdown

I have an embedded system with photon included.
I want to shutdown the system, the same than phshutdown does.

Two questions:

Is it possible to configure the shutdown dialog options?
Normally there are:
. Shutdown and reboot
. Shutdown the system
. End photon session

I dont want to have the option end photon session, is it possible?

Is it possible to launch phshutdown and just the system reboot (not to need to wait to confirm the option with the mouse?
Just as “shutdown -S reboot” does, but shutdown does not work very well with photon, the system hangs…

Any help would be appreciated.

Thank you very much