Unreal NetMode Change in runtime

I want to make a system should control the netmode.

like this:
one button(SingleModeButton) on clicked => Change Client(On Dedicated Server) Mode to Standalone Mode
another button(MultiModeButton) On Clicked => Do not change Client Mode and Travel with Server

How can i make this system?