Updated datebox component to work properly in form layouts. Removed stale code from editor.