VE-1564 Dialog should only appear once

'1' <- string, few lines below 0 is passed as integer. is that correct?