Change how Done button is enabled and disabled.

To prevent https://docs.angularjs.org/error/$rootScope/inprog when attempting
to delete transcript via right click -> delete.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>