adding displaying error dialog when adding  or updating a duplicate movie