Changed window_id to window_number for submission model.