Fixed No warning when possibly losing entered data. Close #333.