Move custom level to dialog

Fix #281