Intensity dialog

Began work on dialog on key press. Dialog pops up but when the study is
supposed to be loaded again it shows white.