The buttons call Python code in the same process.
Call the API route Call a native action
Press a button.