Wait drawer to close before fragment replace.