Added support for adding deadlines through UI