Last dialog fragment fix