fixed notedialog popup (#407)