proposal and documentation check

if an proposal would be added it check if documentation exist and if a
documentation would be added it check if there is a proposal, delete
this…