split modal button and content