Move submit/close buttons up on code submission. Fix #969