You can probably make a plugin that allows you to change blocks to a dispenser, have a button on the block to begin then change it into a dispenser and the button should stay, I did this with torches and they stayed. Just an idea.