Use the correct theme for the share dialog on 4.x and 5.x