added commons testes
implemented image preview for collision dialog