Implemented resume dialog. (UI is ugly)