angularize modal. not yet fix bug of trip list disappearing after modal comes out