add redirect if no layout selected

Signed-off-by: Thomas Warlop <thomas.warlop@gmail.com>