Fixed some styling issues and added some 'discard changes buttons'.