fix delete tasks bug
fix dialog bug
fix pagination bug