adopted respond_to code from notes controller and made it work as solved code in proglems controller. desired non-page-reload behavior not yet in place, however.