Customized to use bootstrap modal, select2, and pnotify.