avoid magic numbers
modal dialog