resume modal works