changed modal dialog + added gallery