adding a cancel button and replace chosen with select