fixed dialog - appears only once.
Also, fixed 21/22 error.