Make discard dialog button position consistent