modal window widget class