fixes #309 broken compare modal layout