fix slow bug, new table add
add diary editor dialog