Better modal support

This patch allows for modals to be populated via ajax or via template in addition to the current iframe implementation. Also fixes some quoting issues with the README JSON examples.