minor fix on 'add item' dialog