Use DialogCancelHandler in UploadDialogBox
Use DialogCancelHandler in RunInfoDialogBox
Use DialogCancelHandler in ComponentInfoDialogBox
Make a reusable panel with a centered "Close" button
Use ClosePanel in the component and run info boxes