Fixed modal routing issue