Fixed some problems on modal layout