improve modal config frame