Adds an eventemitter and fires a close event when a step is removed.