If you place one command block and put a command in it and if you die and press respawn button you will see that the command block is no longer working and if you right click it GUI won't open.
Linked issues
Comments
this is already fixed in 15w37a
After death not adter its a typo sorry but I don't know how to edit it