fixed layout issues in modal config