If you disabled the header for embedded applications there is then no way to close the app
You can exit the app usually by going to File->Exit but then you're left with a grey box that you can never exit and you are then unable to start the embedded app again
