fixed attack dialog height to be automatic