conditions are working
modified condition.js to hide, otherwise remove makes it so the enterdocument doesnt work