Emergency management director resigns; sheriff to fill in until successor hired