check document status. adjust input form
provide user to select another existing document of type draft. clone mapping if another document is selected. use javascript to enable/disbale allowed actions
add error class to info box
before validation check if document is still a draft
remove debugger
refactor document status check and implement locales
adjust locales. fix for check if document id is empty