add rails partials dialog test