Make code popup size not bigger than modal popup