modal example migrated to 3.1.