update modal example to use bootstrap functionality