installing the jquery-ui-rails gem. Putting the 'add contact' form into a jquery-ui Dialog widget, so that I can pop it up via a small icon and close it again after a new object is added. Almost done now...