added modal popup with help, clear, and resize commands